package com.jeesite.modules.task.dceconomicindicator.entity;

import javax.validation.constraints.Size;

import com.jeesite.common.entity.DataEntity;
import com.jeesite.common.mybatis.annotation.Column;
import com.jeesite.common.mybatis.annotation.Table;
import com.jeesite.common.mybatis.mapper.query.QueryType;

/**
 * 经济指标Entity
 * @author xhc
 * @version 2022-10-20
 */
@Table(name="dc_economic_indicator", alias="a", label="经济指标信息", columns={
		@Column(name="id", attrName="id", label="id", isPK=true),
		@Column(name="title", attrName="title", label="标题"),
		@Column(name="json_data", attrName="jsonData", label="数据体"),
		@Column(name="json_column_data", attrName="jsonColumnData", label="展示的列"),
		@Column(name="json_column_two_data", attrName="jsonColumnTwoData", label="展示的二级列"),
		@Column(name="create_date", attrName="createDate", label="创建时间", isUpdate=false, isQuery=false, isUpdateForce=true),
		@Column(name="create_by", attrName="createBy", label="创建人", isUpdate=false, isQuery=false),
		@Column(name="json_wh_data", attrName="jsonWhData", label="芜湖数据"),
		@Column(name="json_column_data_chart", attrName="jsonColumnDataChart", label="图表数据"),
		@Column(name="select_year", attrName="selectYear", label="选择年"),
		@Column(name="select_month", attrName="selectMonth", label="选择月"),
		@Column(name="import_type", attrName="importType", label="导入类型"),
	}, orderBy="a.create_date DESC"
)
public class DcEconomicIndicator extends DataEntity<DcEconomicIndicator> {
	
	private static final long serialVersionUID = 1L;
	 /**
	 * 标题
	 */
	private String title;
	 /**
	 * 数据体
	 */
	private String jsonData;
	 /**
	 * 展示的列
	 */
	private String jsonColumnData;
	private String jsonColumnTwoData;
	private String jsonColumnDataChart;
	private String selectYear;
	private String selectMonth;
	private String importType;

	public String getImportType() {
		return importType;
	}

	public void setImportType(String importType) {
		this.importType = importType;
	}

	public String getJsonColumnDataChart() {
		return jsonColumnDataChart;
	}

	public void setJsonColumnDataChart(String jsonColumnDataChart) {
		this.jsonColumnDataChart = jsonColumnDataChart;
	}

	public String getSelectYear() {
		return selectYear;
	}

	public void setSelectYear(String selectYear) {
		this.selectYear = selectYear;
	}

	public String getSelectMonth() {
		return selectMonth;
	}

	public void setSelectMonth(String selectMonth) {
		this.selectMonth = selectMonth;
	}

	public String getJsonColumnTwoData() {
		return jsonColumnTwoData;
	}

	public void setJsonColumnTwoData(String jsonColumnTwoData) {
		this.jsonColumnTwoData = jsonColumnTwoData;
	}

	/**
	 * 芜湖数据
	 */
	private String jsonWhData;
	
	public DcEconomicIndicator() {
		this(null);
	}

	public DcEconomicIndicator(String id){
		super(id);
	}
	
	@Size(min=0, max=100, message="标题长度不能超过 100 个字符")
	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}
	
	public String getJsonData() {
		return jsonData;
	}

	public void setJsonData(String jsonData) {
		this.jsonData = jsonData;
	}
	
	public String getJsonColumnData() {
		return jsonColumnData;
	}

	public void setJsonColumnData(String jsonColumnData) {
		this.jsonColumnData = jsonColumnData;
	}
	
	public String getJsonWhData() {
		return jsonWhData;
	}

	public void setJsonWhData(String jsonWhData) {
		this.jsonWhData = jsonWhData;
	}
	
}